/**
 * 
 */
package playGround.border;

/**
 * @author Niels Claeys, Maarten Christiaen
 * @version 2.2
 */
public class Wall extends Border {
	
	/**
	 * This method initializes a wall
	 * @param isSlippery to set the wall to slippery or not
	 * @post the wall is initialized as a border with parameter isSlippery
	 * 		| new.getSlippery()==isSlippery
	 */
	public Wall( boolean isSlippery) {
		super(isSlippery);
	}
	/**
	 * the method says that the wall can be on the floor
	 * @return true because a wall can be on the floor
	 * 			| result == true
	 */
	@Override
	public boolean canBeOnFloor() {
		return true;
	}
	/**
	 * this method returns whether or not the border can be opened
	 * @return ...
	 * 		| result == false
	 */
	@Override
	public boolean canBeOpenedOrClosed() {
		return false;
	}
	/**
	 * This method returns if you can pass through the border
	 * @return ...
	 * 			| result == false 
	 */
	@Override
	public boolean canPassThrough() {
		return false;
	}
	
	
	

}
